<template>
	<view class="state-info">
		<u-button :text="buttonText" :type="buttonStyle" @click="deal"></u-button>
	</view>
</template>

<script>
	export default {
		name:"MyButton",
		data() {
			return {
				
			};
		},
		props:{
			buttonText:'',
			buttonStyle:''
		},
		methods:{
			deal(){
				this.$emit('deal')
			}
		}
	}
</script>

<style lang="less">

</style>